package com.mzpai.product.constant;

/**
 * 商品库常量类
 * @author ASUS
 */
public class ProductConstants {
	
	
	/**
	 * 平台storeid: 0
	 */
	public static final Integer STORE_ID_0 = 0;
	
	/**
	 * 门店是否copy商品库商品标识  门店是否复制过 0未复制 1已复制
	 */
	public static final String COPY_FLAGE_0 = "0";
	public static final String COPY_FLAGE_1 = "1";
	
	/**
	 * 规格常量: 0单规格
	 */
	public static final Integer SINGLE_SPEC_TYPE = 0;
	
	/**
	 * 规格常量: 1多规格
	 */
	public static final Integer MORE_SINGLE_SPEC_TYPE = 1;
	
	/**
	 * 活动类型 0=商品，1=秒杀，2=砍价，3=拼团
	 */
	public static final Integer ACTIVE_TYPE_0 = 0;
	public static final Integer ACTIVE_TYPE_1 = 1;
	public static final Integer ACTIVE_TYPE_2 = 2;
	public static final Integer ACTIVE_TYPE_3 = 3;
	
	/**
	 * 商品供应商
	 */
	public static final Integer FACTORY_ID = 1;
	
	/**
	 * 商品 0：未上架，1：上架
	 */
	public static final Integer IS_SHOW0 = 0;
	public static final Integer IS_SHOW1 = 1;
	
	/**
	 * 1:协议 2:合同
	 */
	public static final String TEMPLATE_TYPE1 = "1";
	public static final String TEMPLATE_TYPE2 = "2";
	
	/**
	 * 使用类型  1:店铺 2:用户端(小程序或APP)
	 */
	public static final Integer COOPERATE_TYPE1 = 1;
	public static final Integer COOPERATE_TYPE2 = 2;
	
	/**
	 * 模板状态 1 有效  2失效
	 */
	public static final Integer TEMPLATE_STATE1 = 1;
	public static final Integer TEMPLATE_STATE2 = 2;
	
	
	/**
	 * 操作标识 过 0未复制 1已复制
	 */
	public static final String OPERATE_ADD = "add";
	public static final String OPERATE_UPDATE = "update";
	
	/**
	 * redis设置缓存
	 * 常量
	 */
	public static final String SOTRE_CATEGORY_OBJ = "storecategory_obj";
	
	/**
	 * 商品服务类型 1:实物类; 2:服务类
	 */
	public static final String PRODUCT_TYPE_1 = "1";
	public static final String PRODUCT_TYPE_2 = "2";
	
	
}
